// ****************************************************************************** 
// Copyright     :  Copyright (C) 2018, Hisilicon Technologies Co. Ltd.
// File name     :  cfg_fte_c_union_define.h
// Project line  :  Platform And Key Technologies Development
// Department    :  CAD Development Department
// Author        :  xxx
// Version       :  1
// Date          :  2013/3/10
// Description   :  The description of xxx project
// Others        :  Generated automatically by nManager V4.2 
// History       :  xxx 2018/03/16 17:23:29 Create file
// ******************************************************************************

#ifndef __CFG_FTE_C_UNION_DEFINE_H__
#define __CFG_FTE_C_UNION_DEFINE_H__

/* Define the union U_FTE_ICG_EN */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_0      : 31  ; /* [31:1] */
        unsigned int    fte_icg_en : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_ICG_EN;

/* Define the union U_FTE_INTERVAL_CYCLE */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_aw_interval_cycle : 16  ; /* [31:16] */
        unsigned int    fte_ar_interval_cycle : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_INTERVAL_CYCLE;

/* Define the union U_FTE_NS_CFG_ENABLE */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_1             : 31  ; /* [31:1] */
        unsigned int    fte_ns_cfg_enable : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_NS_CFG_ENABLE;

/* Define the union U_FTE_MODE */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_2            : 20  ; /* [31:12] */
        unsigned int    poe_512_bit_mode : 1  ; /* [11] */
        unsigned int    poe_test_mode    : 1  ; /* [10] */
        unsigned int    rw_mode          : 2  ; /* [9:8] */
        unsigned int    cmd_endless      : 1  ; /* [7] */
        unsigned int    addr_increment   : 4  ; /* [6:3] */
        unsigned int    addr_incr_mode   : 1  ; /* [2] */
        unsigned int    addr_common_mode : 2  ; /* [1:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_MODE;

/* Define the union U_FTE_CMD_NUM */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_cmd_num : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_CMD_NUM;

/* Define the union U_FTE_WDATA_CFG */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_3        : 21  ; /* [31:11] */
        unsigned int    wstrobe_mode : 1  ; /* [10] */
        unsigned int    wdata_mode   : 2  ; /* [9:8] */
        unsigned int    wdata_pylod  : 8  ; /* [7:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_WDATA_CFG;

/* Define the union U_FTE_ADDR_MUX_L */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_addr_en_l : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_ADDR_MUX_L;

/* Define the union U_FTE_ADDR_MUX_H */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_addr_en_h : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_ADDR_MUX_H;

/* Define the union U_FTE_ADDR_L */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_addr_l : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_ADDR_L;

/* Define the union U_FTE_ADDR_H */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_addr_h : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_ADDR_H;

/* Define the union U_FTE_AW_ID */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_4         : 15  ; /* [31:17] */
        unsigned int    aw_id_mode    : 1  ; /* [16] */
        unsigned int    fte_aw_id_max : 8  ; /* [15:8] */
        unsigned int    fte_aw_id     : 8  ; /* [7:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_AW_ID;

/* Define the union U_FTE_AW_CTRL */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_5    : 3  ; /* [31:29] */
        unsigned int    aw_lock  : 1  ; /* [28] */
        unsigned int    aw_qos   : 4  ; /* [27:24] */
        unsigned int    aw_size  : 3  ; /* [23:21] */
        unsigned int    aw_len   : 6  ; /* [20:15] */
        unsigned int    aw_prot  : 3  ; /* [14:12] */
        unsigned int    aw_cache : 4  ; /* [11:8] */
        unsigned int    rsv_6    : 8  ; /* [7:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_AW_CTRL;

/* Define the union U_FTE_AW_USER0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_aw_user0 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_AW_USER0;

/* Define the union U_FTE_AW_USER1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_aw_user1 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_AW_USER1;

/* Define the union U_FTE_AW_USER2 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_aw_user2 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_AW_USER2;

/* Define the union U_FTE_AR_ID */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_7         : 15  ; /* [31:17] */
        unsigned int    ar_id_mode    : 1  ; /* [16] */
        unsigned int    fte_ar_id_max : 8  ; /* [15:8] */
        unsigned int    fte_ar_id     : 8  ; /* [7:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_AR_ID;

/* Define the union U_FTE_AR_CTRL */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_8    : 3  ; /* [31:29] */
        unsigned int    ar_lock  : 1  ; /* [28] */
        unsigned int    ar_qos   : 4  ; /* [27:24] */
        unsigned int    ar_size  : 3  ; /* [23:21] */
        unsigned int    ar_len   : 6  ; /* [20:15] */
        unsigned int    ar_prot  : 3  ; /* [14:12] */
        unsigned int    ar_cache : 4  ; /* [11:8] */
        unsigned int    rsv_9    : 8  ; /* [7:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_AR_CTRL;

/* Define the union U_FTE_AR_USER0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_ar_user0 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_AR_USER0;

/* Define the union U_FTE_AR_USER1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_ar_user1 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_AR_USER1;

/* Define the union U_FTE_AR_USER2 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_ar_user2 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_AR_USER2;

/* Define the union U_FTE_START */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_10         : 31  ; /* [31:1] */
        unsigned int    fte_test_start : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_START;

/* Define the union U_FTE_MAGIC_WORD */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_magic_word : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_MAGIC_WORD;

/* Define the union U_FTE_ECO_CFG0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_eco_cfg0 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_ECO_CFG0;

/* Define the union U_FTE_ECO_CFG1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_eco_cfg1 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_ECO_CFG1;

/* Define the union U_FTE_ECO_CFG2 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_eco_cfg2 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_ECO_CFG2;

/* Define the union U_FTE_ECO_CFG3 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_eco_cfg3 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_ECO_CFG3;

/* Define the union U_FTE_VERSION0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_version : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_VERSION0;

/* Define the union U_FTE_VERSION */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_11 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_VERSION;

/* Define the union U_FTE_BUSY */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_12      : 31  ; /* [31:1] */
        unsigned int    fte_busy_st : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_BUSY;

/* Define the union U_FTE_STAT */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_13          : 14  ; /* [31:18] */
        unsigned int    err_rid         : 8  ; /* [17:10] */
        unsigned int    rsv_14          : 2  ; /* [9:8] */
        unsigned int    data_err_flag   : 1  ; /* [7] */
        unsigned int    rerr_flag       : 1  ; /* [6] */
        unsigned int    rresp_err       : 2  ; /* [5:4] */
        unsigned int    werr_flag       : 1  ; /* [3] */
        unsigned int    wresp_err       : 2  ; /* [2:1] */
        unsigned int    fte_test_finish : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_STAT;

/* Define the union U_FTE_UNFINISH_CNT */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_15          : 16  ; /* [31:16] */
        unsigned int    fte_aw_unfinish : 8  ; /* [15:8] */
        unsigned int    fte_ar_unfinish : 8  ; /* [7:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_UNFINISH_CNT;

/* Define the union U_FTE_AW_CNUM_L */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_aw_cnum_l : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_AW_CNUM_L;

/* Define the union U_FTE_AW_CNUM_H */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_aw_cnum_h : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_AW_CNUM_H;

/* Define the union U_FTE_AW_RNUM_L */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_aw_rnum_l : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_AW_RNUM_L;

/* Define the union U_FTE_AW_RNUM_H */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_aw_rnum_h : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_AW_RNUM_H;

/* Define the union U_FTE_AR_CNUM_L */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_ar_cnum_l : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_AR_CNUM_L;

/* Define the union U_FTE_AR_CNUM_H */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_ar_cnum_h : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_AR_CNUM_H;

/* Define the union U_FTE_AR_RNUM_L */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_ar_rnum_l : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_AR_RNUM_L;

/* Define the union U_FTE_AR_RNUM_H */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_ar_rnum_h : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_AR_RNUM_H;

/* Define the union U_ERR_ADDR_0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    err_addr_l : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_ERR_ADDR_0;

/* Define the union U_ERR_ADDR_1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    err_addr_h : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_ERR_ADDR_1;

/* Define the union U_ERR_DATA_0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    err_data_0 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_ERR_DATA_0;

/* Define the union U_ERR_DATA_1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    err_data_l : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_ERR_DATA_1;

/* Define the union U_ERR_DATA_2 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    err_data_2 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_ERR_DATA_2;

/* Define the union U_ERR_DATA_3 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    err_data_3 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_ERR_DATA_3;

/* Define the union U_ERR_DATA_4 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    err_data_4 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_ERR_DATA_4;

/* Define the union U_ERR_DATA_5 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    err_data_5 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_ERR_DATA_5;

/* Define the union U_ERR_DATA_6 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    err_data_6 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_ERR_DATA_6;

/* Define the union U_ERR_DATA_7 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    err_data_7 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_ERR_DATA_7;

/* Define the union U_FTE_LAST_RDATA0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_last_rdata0 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_LAST_RDATA0;

/* Define the union U_FTE_LAST_RDATA1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_last_rdata1 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_LAST_RDATA1;

/* Define the union U_FTE_LAST_RDATA2 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_last_rdata2 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_LAST_RDATA2;

/* Define the union U_FTE_LAST_RDATA3 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_last_rdata3 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_LAST_RDATA3;

/* Define the union U_FTE_LAST_RDATA4 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_last_rdata4 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_LAST_RDATA4;

/* Define the union U_FTE_LAST_RDATA5 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_last_rdata5 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_LAST_RDATA5;

/* Define the union U_FTE_LAST_RDATA6 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_last_rdata6 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_LAST_RDATA6;

/* Define the union U_FTE_LAST_RDATA7 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_last_rdata7 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_LAST_RDATA7;

/* Define the union U_FTE_AW_DAVG_L */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_aw_davg_l : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_AW_DAVG_L;

/* Define the union U_FTE_AW_DAVG_H */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_aw_davg_h : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_AW_DAVG_H;

/* Define the union U_FTE_AW_DMAX_L */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_aw_dmax_l : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_AW_DMAX_L;

/* Define the union U_FTE_AW_DMAX_H */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_aw_dmax_h : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_AW_DMAX_H;

/* Define the union U_FTE_AR_DAVG_L */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_ar_davg_l : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_AR_DAVG_L;

/* Define the union U_FTE_AR_DAVG_H */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_ar_davg_h : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_AR_DAVG_H;

/* Define the union U_FTE_AR_DMAX_L */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_ar_dmax_l : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_AR_DMAX_L;

/* Define the union U_FTE_AR_DMAX_H */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fte_ar_dmax_h : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FTE_AR_DMAX_H;


//==============================================================================
/* Define the global struct */
typedef struct
{
    volatile U_FTE_ICG_EN         FTE_ICG_EN         ; /* 0 */
    volatile U_FTE_INTERVAL_CYCLE FTE_INTERVAL_CYCLE ; /* 10 */
    volatile U_FTE_NS_CFG_ENABLE  FTE_NS_CFG_ENABLE  ; /* 14 */
    volatile U_FTE_MODE           FTE_MODE           ; /* 18 */
    volatile U_FTE_CMD_NUM        FTE_CMD_NUM        ; /* 1C */
    volatile U_FTE_WDATA_CFG      FTE_WDATA_CFG      ; /* 50 */
    volatile U_FTE_ADDR_MUX_L     FTE_ADDR_MUX_L     ; /* A0 */
    volatile U_FTE_ADDR_MUX_H     FTE_ADDR_MUX_H     ; /* A4 */
    volatile U_FTE_ADDR_L         FTE_ADDR_L         ; /* B0 */
    volatile U_FTE_ADDR_H         FTE_ADDR_H         ; /* B4 */
    volatile U_FTE_AW_ID          FTE_AW_ID          ; /* 100 */
    volatile U_FTE_AW_CTRL        FTE_AW_CTRL        ; /* 104 */
    volatile U_FTE_AW_USER0       FTE_AW_USER0       ; /* 110 */
    volatile U_FTE_AW_USER1       FTE_AW_USER1       ; /* 114 */
    volatile U_FTE_AW_USER2       FTE_AW_USER2       ; /* 118 */
    volatile U_FTE_AR_ID          FTE_AR_ID          ; /* 200 */
    volatile U_FTE_AR_CTRL        FTE_AR_CTRL        ; /* 204 */
    volatile U_FTE_AR_USER0       FTE_AR_USER0       ; /* 210 */
    volatile U_FTE_AR_USER1       FTE_AR_USER1       ; /* 214 */
    volatile U_FTE_AR_USER2       FTE_AR_USER2       ; /* 218 */
    volatile U_FTE_START          FTE_START          ; /* 400 */
    volatile U_FTE_MAGIC_WORD     FTE_MAGIC_WORD     ; /* 7F0 */
    volatile U_FTE_ECO_CFG0       FTE_ECO_CFG0       ; /* C00 */
    volatile U_FTE_ECO_CFG1       FTE_ECO_CFG1       ; /* C04 */
    volatile U_FTE_ECO_CFG2       FTE_ECO_CFG2       ; /* C08 */
    volatile U_FTE_ECO_CFG3       FTE_ECO_CFG3       ; /* C0C */
    volatile U_FTE_VERSION0       FTE_VERSION0       ; /* C10 */
    volatile U_FTE_VERSION        FTE_VERSION        ; /* C1C */
    volatile U_FTE_BUSY           FTE_BUSY           ; /* 1000 */
    volatile U_FTE_STAT           FTE_STAT           ; /* 1010 */
    volatile U_FTE_UNFINISH_CNT   FTE_UNFINISH_CNT   ; /* 1014 */
    volatile U_FTE_AW_CNUM_L      FTE_AW_CNUM_L      ; /* 1020 */
    volatile U_FTE_AW_CNUM_H      FTE_AW_CNUM_H      ; /* 1024 */
    volatile U_FTE_AW_RNUM_L      FTE_AW_RNUM_L      ; /* 1028 */
    volatile U_FTE_AW_RNUM_H      FTE_AW_RNUM_H      ; /* 102C */
    volatile U_FTE_AR_CNUM_L      FTE_AR_CNUM_L      ; /* 1030 */
    volatile U_FTE_AR_CNUM_H      FTE_AR_CNUM_H      ; /* 1034 */
    volatile U_FTE_AR_RNUM_L      FTE_AR_RNUM_L      ; /* 1038 */
    volatile U_FTE_AR_RNUM_H      FTE_AR_RNUM_H      ; /* 103C */
    volatile U_ERR_ADDR_0         ERR_ADDR_0         ; /* 1050 */
    volatile U_ERR_ADDR_1         ERR_ADDR_1         ; /* 1054 */
    volatile U_ERR_DATA_0         ERR_DATA_0         ; /* 1060 */
    volatile U_ERR_DATA_1         ERR_DATA_1         ; /* 1064 */
    volatile U_ERR_DATA_2         ERR_DATA_2         ; /* 1068 */
    volatile U_ERR_DATA_3         ERR_DATA_3         ; /* 106C */
    volatile U_ERR_DATA_4         ERR_DATA_4         ; /* 1070 */
    volatile U_ERR_DATA_5         ERR_DATA_5         ; /* 1074 */
    volatile U_ERR_DATA_6         ERR_DATA_6         ; /* 1078 */
    volatile U_ERR_DATA_7         ERR_DATA_7         ; /* 107C */
    volatile U_FTE_LAST_RDATA0    FTE_LAST_RDATA0    ; /* 1080 */
    volatile U_FTE_LAST_RDATA1    FTE_LAST_RDATA1    ; /* 1084 */
    volatile U_FTE_LAST_RDATA2    FTE_LAST_RDATA2    ; /* 1088 */
    volatile U_FTE_LAST_RDATA3    FTE_LAST_RDATA3    ; /* 108C */
    volatile U_FTE_LAST_RDATA4    FTE_LAST_RDATA4    ; /* 1090 */
    volatile U_FTE_LAST_RDATA5    FTE_LAST_RDATA5    ; /* 1094 */
    volatile U_FTE_LAST_RDATA6    FTE_LAST_RDATA6    ; /* 1098 */
    volatile U_FTE_LAST_RDATA7    FTE_LAST_RDATA7    ; /* 109C */
    volatile U_FTE_AW_DAVG_L      FTE_AW_DAVG_L      ; /* 1F00 */
    volatile U_FTE_AW_DAVG_H      FTE_AW_DAVG_H      ; /* 1F04 */
    volatile U_FTE_AW_DMAX_L      FTE_AW_DMAX_L      ; /* 1F08 */
    volatile U_FTE_AW_DMAX_H      FTE_AW_DMAX_H      ; /* 1F0C */
    volatile U_FTE_AR_DAVG_L      FTE_AR_DAVG_L      ; /* 1F10 */
    volatile U_FTE_AR_DAVG_H      FTE_AR_DAVG_H      ; /* 1F14 */
    volatile U_FTE_AR_DMAX_L      FTE_AR_DMAX_L      ; /* 1F18 */
    volatile U_FTE_AR_DMAX_H      FTE_AR_DMAX_H      ; /* 1F1C */

} S_cfg_fte_REGS_TYPE;

/* Declare the struct pointor of the module cfg_fte */
extern volatile S_cfg_fte_REGS_TYPE *gopcfg_fteAllReg;

/* Declare the functions that set the member value */
int iSetFTE_ICG_EN_fte_icg_en(unsigned int ufte_icg_en);
int iSetFTE_INTERVAL_CYCLE_fte_aw_interval_cycle(unsigned int ufte_aw_interval_cycle);
int iSetFTE_INTERVAL_CYCLE_fte_ar_interval_cycle(unsigned int ufte_ar_interval_cycle);
int iSetFTE_NS_CFG_ENABLE_fte_ns_cfg_enable(unsigned int ufte_ns_cfg_enable);
int iSetFTE_MODE_poe_512_bit_mode(unsigned int upoe_512_bit_mode);
int iSetFTE_MODE_poe_test_mode(unsigned int upoe_test_mode);
int iSetFTE_MODE_rw_mode(unsigned int urw_mode);
int iSetFTE_MODE_cmd_endless(unsigned int ucmd_endless);
int iSetFTE_MODE_addr_increment(unsigned int uaddr_increment);
int iSetFTE_MODE_addr_incr_mode(unsigned int uaddr_incr_mode);
int iSetFTE_MODE_addr_common_mode(unsigned int uaddr_common_mode);
int iSetFTE_CMD_NUM_fte_cmd_num(unsigned int ufte_cmd_num);
int iSetFTE_WDATA_CFG_wstrobe_mode(unsigned int uwstrobe_mode);
int iSetFTE_WDATA_CFG_wdata_mode(unsigned int uwdata_mode);
int iSetFTE_WDATA_CFG_wdata_pylod(unsigned int uwdata_pylod);
int iSetFTE_ADDR_MUX_L_fte_addr_en_l(unsigned int ufte_addr_en_l);
int iSetFTE_ADDR_MUX_H_fte_addr_en_h(unsigned int ufte_addr_en_h);
int iSetFTE_ADDR_L_fte_addr_l(unsigned int ufte_addr_l);
int iSetFTE_ADDR_H_fte_addr_h(unsigned int ufte_addr_h);
int iSetFTE_AW_ID_aw_id_mode(unsigned int uaw_id_mode);
int iSetFTE_AW_ID_fte_aw_id_max(unsigned int ufte_aw_id_max);
int iSetFTE_AW_ID_fte_aw_id(unsigned int ufte_aw_id);
int iSetFTE_AW_CTRL_aw_lock(unsigned int uaw_lock);
int iSetFTE_AW_CTRL_aw_qos(unsigned int uaw_qos);
int iSetFTE_AW_CTRL_aw_size(unsigned int uaw_size);
int iSetFTE_AW_CTRL_aw_len(unsigned int uaw_len);
int iSetFTE_AW_CTRL_aw_prot(unsigned int uaw_prot);
int iSetFTE_AW_CTRL_aw_cache(unsigned int uaw_cache);
int iSetFTE_AW_USER0_fte_aw_user0(unsigned int ufte_aw_user0);
int iSetFTE_AW_USER1_fte_aw_user1(unsigned int ufte_aw_user1);
int iSetFTE_AW_USER2_fte_aw_user2(unsigned int ufte_aw_user2);
int iSetFTE_AR_ID_ar_id_mode(unsigned int uar_id_mode);
int iSetFTE_AR_ID_fte_ar_id_max(unsigned int ufte_ar_id_max);
int iSetFTE_AR_ID_fte_ar_id(unsigned int ufte_ar_id);
int iSetFTE_AR_CTRL_ar_lock(unsigned int uar_lock);
int iSetFTE_AR_CTRL_ar_qos(unsigned int uar_qos);
int iSetFTE_AR_CTRL_ar_size(unsigned int uar_size);
int iSetFTE_AR_CTRL_ar_len(unsigned int uar_len);
int iSetFTE_AR_CTRL_ar_prot(unsigned int uar_prot);
int iSetFTE_AR_CTRL_ar_cache(unsigned int uar_cache);
int iSetFTE_AR_USER0_fte_ar_user0(unsigned int ufte_ar_user0);
int iSetFTE_AR_USER1_fte_ar_user1(unsigned int ufte_ar_user1);
int iSetFTE_AR_USER2_fte_ar_user2(unsigned int ufte_ar_user2);
int iSetFTE_START_fte_test_start(unsigned int ufte_test_start);
int iSetFTE_MAGIC_WORD_fte_magic_word(unsigned int ufte_magic_word);
int iSetFTE_ECO_CFG0_fte_eco_cfg0(unsigned int ufte_eco_cfg0);
int iSetFTE_ECO_CFG1_fte_eco_cfg1(unsigned int ufte_eco_cfg1);
int iSetFTE_ECO_CFG2_fte_eco_cfg2(unsigned int ufte_eco_cfg2);
int iSetFTE_ECO_CFG3_fte_eco_cfg3(unsigned int ufte_eco_cfg3);
int iSetFTE_VERSION0_fte_version(unsigned int ufte_version);

int iSetFTE_BUSY_fte_busy_st(unsigned int ufte_busy_st);
int iSetFTE_STAT_err_rid(unsigned int uerr_rid);
int iSetFTE_STAT_data_err_flag(unsigned int udata_err_flag);
int iSetFTE_STAT_rerr_flag(unsigned int urerr_flag);
int iSetFTE_STAT_rresp_err(unsigned int urresp_err);
int iSetFTE_STAT_werr_flag(unsigned int uwerr_flag);
int iSetFTE_STAT_wresp_err(unsigned int uwresp_err);
int iSetFTE_STAT_fte_test_finish(unsigned int ufte_test_finish);
int iSetFTE_UNFINISH_CNT_fte_aw_unfinish(unsigned int ufte_aw_unfinish);
int iSetFTE_UNFINISH_CNT_fte_ar_unfinish(unsigned int ufte_ar_unfinish);
int iSetFTE_AW_CNUM_L_fte_aw_cnum_l(unsigned int ufte_aw_cnum_l);
int iSetFTE_AW_CNUM_H_fte_aw_cnum_h(unsigned int ufte_aw_cnum_h);
int iSetFTE_AW_RNUM_L_fte_aw_rnum_l(unsigned int ufte_aw_rnum_l);
int iSetFTE_AW_RNUM_H_fte_aw_rnum_h(unsigned int ufte_aw_rnum_h);
int iSetFTE_AR_CNUM_L_fte_ar_cnum_l(unsigned int ufte_ar_cnum_l);
int iSetFTE_AR_CNUM_H_fte_ar_cnum_h(unsigned int ufte_ar_cnum_h);
int iSetFTE_AR_RNUM_L_fte_ar_rnum_l(unsigned int ufte_ar_rnum_l);
int iSetFTE_AR_RNUM_H_fte_ar_rnum_h(unsigned int ufte_ar_rnum_h);
int iSetERR_ADDR_0_err_addr_l(unsigned int uerr_addr_l);
int iSetERR_ADDR_1_err_addr_h(unsigned int uerr_addr_h);
int iSetERR_DATA_0_err_data_0(unsigned int uerr_data_0);
int iSetERR_DATA_1_err_data_l(unsigned int uerr_data_l);
int iSetERR_DATA_2_err_data_2(unsigned int uerr_data_2);
int iSetERR_DATA_3_err_data_3(unsigned int uerr_data_3);
int iSetERR_DATA_4_err_data_4(unsigned int uerr_data_4);
int iSetERR_DATA_5_err_data_5(unsigned int uerr_data_5);
int iSetERR_DATA_6_err_data_6(unsigned int uerr_data_6);
int iSetERR_DATA_7_err_data_7(unsigned int uerr_data_7);
int iSetFTE_LAST_RDATA0_fte_last_rdata0(unsigned int ufte_last_rdata0);
int iSetFTE_LAST_RDATA1_fte_last_rdata1(unsigned int ufte_last_rdata1);
int iSetFTE_LAST_RDATA2_fte_last_rdata2(unsigned int ufte_last_rdata2);
int iSetFTE_LAST_RDATA3_fte_last_rdata3(unsigned int ufte_last_rdata3);
int iSetFTE_LAST_RDATA4_fte_last_rdata4(unsigned int ufte_last_rdata4);
int iSetFTE_LAST_RDATA5_fte_last_rdata5(unsigned int ufte_last_rdata5);
int iSetFTE_LAST_RDATA6_fte_last_rdata6(unsigned int ufte_last_rdata6);
int iSetFTE_LAST_RDATA7_fte_last_rdata7(unsigned int ufte_last_rdata7);
int iSetFTE_AW_DAVG_L_fte_aw_davg_l(unsigned int ufte_aw_davg_l);
int iSetFTE_AW_DAVG_H_fte_aw_davg_h(unsigned int ufte_aw_davg_h);
int iSetFTE_AW_DMAX_L_fte_aw_dmax_l(unsigned int ufte_aw_dmax_l);
int iSetFTE_AW_DMAX_H_fte_aw_dmax_h(unsigned int ufte_aw_dmax_h);
int iSetFTE_AR_DAVG_L_fte_ar_davg_l(unsigned int ufte_ar_davg_l);
int iSetFTE_AR_DAVG_H_fte_ar_davg_h(unsigned int ufte_ar_davg_h);
int iSetFTE_AR_DMAX_L_fte_ar_dmax_l(unsigned int ufte_ar_dmax_l);
int iSetFTE_AR_DMAX_H_fte_ar_dmax_h(unsigned int ufte_ar_dmax_h);

#endif // __CFG_FTE_C_UNION_DEFINE_H__
